package com.company.service;

import java.util.List;

import com.company.dao.PageProDao;
import com.company.dao.PageProjectDao;
import com.company.entity.Chanpinfuwu;
import com.company.entity.Projects;

public class PageProjectService {
	PageProjectDao pageProjectDao;

	public PageProjectDao getPageProjectDao() {
		return pageProjectDao;
	}

	public void setPageProjectDao(PageProjectDao pageProjectDao) {
		this.pageProjectDao = pageProjectDao;
	}

	public List<Projects> query(int pageNum) {
		return pageProjectDao.query(pageNum);
	}

	public int queryPageNum() {
		return pageProjectDao.queryPageNum();
	}
}
